Ext.onReady(function(){
	Ext.QuickTips.init();
	Ext.Loader.setConfig({
		enabled:true
	});
	Ext.application({
		name : 'AM',
		appFolder : 'app',
		launch:function(){
			Ext.create('Ext.container.Viewport',{
				//layout:'auto',
				padding:"15 15 15 15",
				items:{
					width:750,
					height:750,
					xtype:'mainlayout'
				}
			});
		},
		controllers:[
		    'DeptController'
		]
	});
});